<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>i2c: dbContact Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">i2c
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">dbContact Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="dbContact" --><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a2273cfbddc0051696284819bfcfeb317">getAllContacts</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a95bac470dae6d9bdcfa717c5fc11104e">getContactID</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a0926ddf94d472e55e8b11bb48aecaf96">getOrganizationID</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a9b36fb56afaff85d63d817e2e4354dff">getFname</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a92c069e6002f92ebfa2c121e984b120b">getLname</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a894d98d3435563e1510534f255faf20a">getEmail</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#ac6710eab95964004b469695081ab069d">getPhone</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#abde0ab59f3a2e54ff7acc3d342257cdb">getExt</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a1ab13313614b8a37d25b1509c76ecefb">getFax</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a783f80405bcd83a52a7d050aefa54969">updateContact</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a32503dde9546c776ebabe3b01731c2dd">checkID</a> ($c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a8052600fdae6d5e22990f20f50c917b2">getContact</a> ($contactID)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a1dc772ac7653b9139434f430470b6ed4">deleteContact</a> ($c)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#aea6c4d653e217f31256ded5783ed58f4">createTable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#ad42a54dce36cdfe389c7e19ec529e621">getAllName</a> ($orgID)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#a8d439627608a4c5850b54067b92c4021">addContact</a> ($c, &amp;$id=null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_contact.html#aaaca33ac319178544c7cc9df0d9f1578">getAllByID</a> ($id, &amp;$output)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Communicates with the <a class="el" href="class_contact.html">Contact</a> control file to know which student data to get and set. It is the only file that has the SQL queries and MySQL connections</p>
<dl class="copyright"><dt><b>Copyright:</b></dt><dd>2011 by Dan, Steven, Brice, Mike, and Aaron. This program is part of <a class="el" href="class_internship.html">Internship</a> 2 Career, which is free software. It comes with absolutely no warranty. You can redistribute or modify it under the terms of the GNU General Public License as published by the Free Software Foundation (For more information, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>).</dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd>March 4, 2011</dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel Pepin, Brice Rader and Aaron Jarzombeck </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00018">18</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8d439627608a4c5850b54067b92c4021"></a><!-- doxytag: member="dbContact::addContact" ref="a8d439627608a4c5850b54067b92c4021" args="($c, &amp;$id=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static addContact </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>id</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds a contact to the database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td>Class <a class="el" href="class_contact.html">Contact</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>bool Returns TRUE if query completes successfully. </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00314">314</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a32503dde9546c776ebabe3b01731c2dd"></a><!-- doxytag: member="dbContact::checkID" ref="a32503dde9546c776ebabe3b01731c2dd" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">checkID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks to see if the ID exists. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td>Class <a class="el" href="class_contact.html">Contact</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>int Returns 0 if ID cannot be found, and 1 if ID is found </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00343">343</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="aea6c4d653e217f31256ded5783ed58f4"></a><!-- doxytag: member="dbContact::createTable" ref="aea6c4d653e217f31256ded5783ed58f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static createTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00020">20</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a1dc772ac7653b9139434f430470b6ed4"></a><!-- doxytag: member="dbContact::deleteContact" ref="a1dc772ac7653b9139434f430470b6ed4" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">deleteContact </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Deletes a contact from the database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td>Class <a class="el" href="class_contact.html">Contact</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>bool Returns TRUE if contact can be deleted. </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00390">390</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="aaaca33ac319178544c7cc9df0d9f1578"></a><!-- doxytag: member="dbContact::getAllByID" ref="aaaca33ac319178544c7cc9df0d9f1578" args="($id, &amp;$output)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getAllByID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets all fields by ID </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">getAllByID</td><td class="paramname">$id</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>all fields </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00416">416</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a2273cfbddc0051696284819bfcfeb317"></a><!-- doxytag: member="dbContact::getAllContacts" ref="a2273cfbddc0051696284819bfcfeb317" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllContacts </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets all the contacts from the database. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>object Returns MySQL data object </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00054">54</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="ad42a54dce36cdfe389c7e19ec529e621"></a><!-- doxytag: member="dbContact::getAllName" ref="ad42a54dce36cdfe389c7e19ec529e621" args="($orgID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getAllName </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>orgID</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets all the contact IDs, first names, and last names from the database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$orgID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object Returns MySQL data object </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00075">75</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a8052600fdae6d5e22990f20f50c917b2"></a><!-- doxytag: member="dbContact::getContact" ref="a8052600fdae6d5e22990f20f50c917b2" args="($contactID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getContact </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>contactID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets all the contact information for a contact with a certain ID. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">int</td><td class="paramname">$id</td><td>ID of contact you want to get. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object Returns 0 if ID does not exist, or a <a class="el" href="class_contact.html">Contact</a> object if it does </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00365">365</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a95bac470dae6d9bdcfa717c5fc11104e"></a><!-- doxytag: member="dbContact::getContactID" ref="a95bac470dae6d9bdcfa717c5fc11104e" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getContactID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets contact ID </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object returns contact ID </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00095">95</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a894d98d3435563e1510534f255faf20a"></a><!-- doxytag: member="dbContact::getEmail" ref="a894d98d3435563e1510534f255faf20a" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getEmail </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets email of contact </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00173">173</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="abde0ab59f3a2e54ff7acc3d342257cdb"></a><!-- doxytag: member="dbContact::getExt" ref="abde0ab59f3a2e54ff7acc3d342257cdb" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getExt </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets Ext number of contact </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object returns ext number </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00215">215</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a1ab13313614b8a37d25b1509c76ecefb"></a><!-- doxytag: member="dbContact::getFax" ref="a1ab13313614b8a37d25b1509c76ecefb" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getFax </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets fax number of contact </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object returns fax number </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00236">236</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a9b36fb56afaff85d63d817e2e4354dff"></a><!-- doxytag: member="dbContact::getFname" ref="a9b36fb56afaff85d63d817e2e4354dff" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getFname </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets first name of contact </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object returns first name </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00132">132</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a92c069e6002f92ebfa2c121e984b120b"></a><!-- doxytag: member="dbContact::getLname" ref="a92c069e6002f92ebfa2c121e984b120b" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getLname </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets last name of contact </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object returns last name </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00153">153</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a0926ddf94d472e55e8b11bb48aecaf96"></a><!-- doxytag: member="dbContact::getOrganizationID" ref="a0926ddf94d472e55e8b11bb48aecaf96" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOrganizationID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets organization ID </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object returns organization ID </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00111">111</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="ac6710eab95964004b469695081ab069d"></a><!-- doxytag: member="dbContact::getPhone" ref="ac6710eab95964004b469695081ab069d" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPhone </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets phone number of contact </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object returns phone number </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00194">194</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<a class="anchor" id="a783f80405bcd83a52a7d050aefa54969"></a><!-- doxytag: member="dbContact::updateContact" ref="a783f80405bcd83a52a7d050aefa54969" args="($c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updateContact </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates contact information. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$c</td><td>Class <a class="el" href="class_contact.html">Contact</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>int Returns FALSE if there was an error updating, else returns TRUE </dd></dl>

<p>Definition at line <a class="el" href="db_contact_8php_source.html#l00258">258</a> of file <a class="el" href="db_contact_8php_source.html">dbContact.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Jon/Downloads/OOP/db-control/<a class="el" href="db_contact_8php_source.html">dbContact.php</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 18:18:56 for i2c by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
